package com.coda.mapper;

import com.coda.entity.Place;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface PlaceMapper {
    /**
     * 查询所有地区
     * @return
     */
    @Select("select * from place")
    List<Place> getPlaceList();
}
